/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Behavioral.TemplateMethod;

/**
 *
 * @author usuario
 */
public class Test {
    public static void main(String[] args){
        Persona p = new Cliente(1234);
        System.out.println("El Cliente : ");
        System.out.println(p.identificate());
        
        p = new Socio(5678);
        System.out.println("El Socio : ");
        System.out.println(p.identificate());
    }
}
